
<div class="content">
	<div class="title">
	<h2>学习论坛</h2>
	</div>
	<div class="forumnewblock">
		<h3>发表回复</h3>
		<form action="<?php echo $this->baseUrl().'/forum/reply?replytoid='.$this->replytoid;?>" method="post">
		<h4>回复内容<p><?php if(isset($this->tipcontent))echo $this->tipcontent;?></p></h4> <textarea  type="text" id="content" name="content"></textarea>
		<button type="submit">发表</button>
		</form>
	</div>
	<div class="forumsideblock">
		<img  alt="img" src="<?php echo $this->baseUrl().'/'.$this->headimg;?>"/>
		<div class="tip">
			<h4><?php echo $this->escape($this->user);?></h4>
			<?php 
				if($this->user!='游客')
				{
				    echo '<p><a href="'.$this->baseUrl().'/forum/changeimg'.'">修改头像</a></p>';
				    echo '<p><a href="'.$this->baseUrl().'/forum/myforum'.'">我发表的帖子</a></p>';
				    echo '<p><a href="'.$this->baseUrl().'/forum/myreplyforum'.'">我回复的帖子</a></p>';
				}
			?>
		</div>
	</div>

</div>
